#pragma once
#include "esp_event.h"

extern esp_event_loop_handle_t my_event_loop_handle;

extern const char* MY_EVENT_BASE;

// 定义事件 ID
enum {
    MY_EVENT_ID_HELLO = 1,
    MY_EVENT_ID_GOODBYE = 2,
};

void init_event_loop(void);